Install BZIP2The order is as follows:
The code is as follows:
Make-f Makefile-libbz2_so &&
Make &&
Make install &&
CP Bzip2-shared/bin/bzip2 &&
Ln-s libbz2.so.1.0 libbz2.so &&
Cp-a libbz2.so*/lib &&
Rm/lib/libbz2.so &&
Linux compression helper bzip2GuideTo compress a file, you can use a small number of bytes to encode the data in the file to significantly reduce the file size, and it is useful for cross-network file backup and transfer. On the other hand,
Bzip2 adopts the new compression algorithm, which is better than the traditional LZ77/LZ78 compression algorithm. If no compression file is added, the compressed file .bz2 will be uploaded and the original file will be deleted.SyntaxBzip2
This article is to Uncle Bird's Linux private cuisine (basic study) of the third edition of the study notes, the original text can refer to the original book Chinese website Bird uncle's Linux private dishes.In the Linux environment, the operation
Compression Packaging Introduction:Commonly used compressed file types:1, windows:.rar/.zip/.7z2, Linux:.zip/.gz/.bz2/.xz/.tar/.gz/.tar/.bz2/.tar/.xzGzip Compression Tool:1, experiment, CD to/tmp directory, use MKDI to create a directory d6z, in the
14.3. File compression and archiving
Sometimes we need to store a set of files in a single file for backup or transfer to another directory or even another computer. Sometimes we also need to compress files into one file, so they use only a small
Linux inside the compression decompression is very commonly used instructions, and Linux support compression instructions are more diverse, and different compression using different technologies, is currently commonly used mainly gzip and bzip2
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.